package com.southminority.ethnic.service.language;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.southminority.ethnic.controller.language.vo.LanguagePageResq;
import com.southminority.ethnic.pojo.MinorityLanguageSpeech;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
* @author ASHTR
* @description 针对表【minority_language_speech(语言数据库-词汇)】的数据库操作Service
* @createDate 2025-08-29 00:33:49
*/
public interface MinorityLanguageSpeechService extends IService<MinorityLanguageSpeech> {
    Boolean InputList(List<MinorityLanguageSpeech> list);
    LanguagePageResq<MinorityLanguageSpeech> selectPageKey(Integer pageNum, Integer pageSize, String key, List<Integer> minorityIds);

    Page<MinorityLanguageSpeech> selectOnesPageKey(
            Integer pageNum,
            Integer pageSize,
            String key,
            List<Integer> minorityIds);
    Boolean add(MinorityLanguageSpeech minorityLanguageSpeech);
    Boolean delete(Integer id);
    Boolean  updata(MinorityLanguageSpeech minorityLanguageSpeech);
}
